<template>
  <div id="blogType">
    <TypeVerticalDrawing :style="{width:width-200+'px',height:height-105+'px'}"/>
  </div>
</template>
<script>
import TypeVerticalDrawing from '../../components/admin/viewComponent/TypeVerticalDrawing'
// 导入路由
import { useRoute, useRouter } from 'vue-router'

export default {
  name: 'BlogType',
  components: {
    TypeVerticalDrawing
  },
  setup () {
    const route = useRoute()
    const router = useRouter()
    console.log(route)
    console.log(router)
    const height = route.query.height
    const width = route.query.width
    return {
      height,
      width
    }
  }
}
</script>
